package com.example.sanchuang_demo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;

@Data
@TableName("Membership")
@AllArgsConstructor
@NoArgsConstructor
public class Membership {
    @TableId(type= IdType.AUTO)
    private Long id;
    private String name;
    private Integer regionId;
    private String mobile;
    private String email;
    private String studentId;
    private String category;
    private Integer sequential;
    private Integer schoolId;

    @TableField(exist = false)
    private String schoolName;
    private String regionName;


}
